<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Administrator</title>
</head>
<body>
<br/>
<font size="7">Administrator...</font>
<br/><br/>
<table width="600px" height="300px" border="1px" cellpadding="0px" cellspacing="0px">
    <tr align="center">
        <td width=200px height="50px">UserName</td>
        <td width=200px height="50px">Password</td>
        <td width=200px height="50px">Delete</td>
        <td width=200px height="50px">History</td>
    </tr>
    <c:forEach items="${list}" var="item">
        <tr align="center">
            <td width=200px height="50px">${item.name}</td>
            <td width=200px height="50px">${item.password}</td>
            <td width=200px height="50px"><a href="/userDel.action?userId=${item.id}">Delete</a></td>
            <td width=200px height="50px"><a href="/history.action?userId=${item.id}">History</a></td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
